package com.chushouya.product.dto.admin.productsku;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel("SKU组合生成请求参数")
public class SkuGenerateDTO {

    @ApiModelProperty(value = "商品ID", required = true)
    @NotNull(message = "商品ID不能为空")
    private Long productId;

    @ApiModelProperty(value = "属性值ID列表", required = true)
    @NotEmpty(message = "属性值ID列表不能为空")
    private List<Long> attrValueList;
}
